import Vue from 'vue/dist/vue.esm.js'
import Vuex from 'vuex'
import App from './App.vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import router from './router'
import VueRouter from "vue-router"
import axios from "axios"
import 'es6-promise/auto'
import store from '../src/store'
Vue.use(ElementUI)
Vue.use(VueRouter)
Vue.use(Vuex)
Vue.prototype.$ajax = axios
Vue.config.productionTip = false

 
 

// new Vue({
//   render: h => h(App),
// }).$mount('#app')
new Vue({
    el: '#app',
    router,//引用router
    store,
    template: '<App/>',
    components: { App },
    data() { 
        return {
            queryCondition: {
                pageNo: 1,
                pageSize: 18,
                recordTotal: 100,
                cid: null,
                keyword: null
            }
        }
        
    }
   })
